3.104 \(\int \sin ^5(e+f x) (a+b \tan ^2(e+f x))^{3/2} \, dx\)

Optimal. Leaf size=227 \[ \frac{b (3 a-7 b) \sec (e+f x) \sqrt{a+b \sec ^2(e+f x)-b}}{2 f (a-b)}-\frac{\cos ^5(e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{5/2}}{5 f (a-b)}+\frac{2 \cos ^3(e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{5/2}}{3 f (a-b)}-\frac{(3 a-7 b) \cos (e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{3/2}}{3 f (a-b)}+\frac{\sqrt{b} (3 a-7 b) \tanh ^{-1}\left (\frac{\sqrt{b} \sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)-b}}\right )}{2 f} \]

[Out]

((3*a - 7*b)*Sqrt[b]*ArcTanh[(Sqrt[b]*Sec[e + f*x])/Sqrt[a - b + b*Sec[e + f*x]^2]])/(2*f) + ((3*a - 7*b)*b*Se
c[e + f*x]*Sqrt[a - b + b*Sec[e + f*x]^2])/(2*(a - b)*f) - ((3*a - 7*b)*Cos[e + f*x]*(a - b + b*Sec[e + f*x]^2
)^(3/2))/(3*(a - b)*f) + (2*Cos[e + f*x]^3*(a - b + b*Sec[e + f*x]^2)^(5/2))/(3*(a - b)*f) - (Cos[e + f*x]^5*(
a - b + b*Sec[e + f*x]^2)^(5/2))/(5*(a - b)*f)

________________________________________________________________________________________

Rubi [A]  time = 0.215731, antiderivative size = 227, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 7, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.28, Rules used = {3664, 462, 453, 277, 195, 217, 206} \[ \frac{b (3 a-7 b) \sec (e+f x) \sqrt{a+b \sec ^2(e+f x)-b}}{2 f (a-b)}-\frac{\cos ^5(e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{5/2}}{5 f (a-b)}+\frac{2 \cos ^3(e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{5/2}}{3 f (a-b)}-\frac{(3 a-7 b) \cos (e+f x) \left (a+b \sec ^2(e+f x)-b\right )^{3/2}}{3 f (a-b)}+\frac{\sqrt{b} (3 a-7 b) \tanh ^{-1}\left (\frac{\sqrt{b} \sec (e+f x)}{\sqrt{a+b \sec ^2(e+f x)-b}}\right )}{2 f} \]

Antiderivative was successfully verified.

[In]

Int[Sin[e + f*x]^5*(a + b*Tan[e + f*x]^2)^(3/2),x]

[Out]

((3*a - 7*b)*Sqrt[b]*ArcTanh[(Sqrt[b]*Sec[e + f*x])/Sqrt[a - b + b*Sec[e + f*x]^2]])/(2*f) + ((3*a - 7*b)*b*Se
c[e + f*x]*Sqrt[a - b + b*Sec[e + f*x]^2])/(2*(a - b)*f) - ((3*a - 7*b)*Cos[e + f*x]*(a - b + b*Sec[e + f*x]^2
)^(3/2))/(3*(a - b)*f) + (2*Cos[e + f*x]^3*(a - b + b*Sec[e + f*x]^2)^(5/2))/(3*(a - b)*f) - (Cos[e + f*x]^5*(
a - b + b*Sec[e + f*x]^2)^(5/2))/(5*(a - b)*f)

Rule 3664

Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*tan[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Sec[e + f*x], x]}, Dist[1/(f*ff^m), Subst[Int[((-1 + ff^2*x^2)^((m - 1)/2)*(a - b + b*ff^2*x^2)^p)/x^(
m + 1), x], x, Sec[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rule 462

Int[((e_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^2, x_Symbol] :> Simp[(c^2*(e*x)^(
m + 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] - Dist[1/(a*e^n*(m + 1)), Int[(e*x)^(m + n)*(a + b*x^n)^p*Simp[b
*c^2*n*(p + 1) + c*(b*c - 2*a*d)*(m + 1) - a*(m + 1)*d^2*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, p}, x] && Ne
Q[b*c - a*d, 0] && IGtQ[n, 0] && LtQ[m, -1] && GtQ[n, 0]

Rule 453

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(c*(e*x)^(m
+ 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] + Dist[(a*d*(m + 1) - b*c*(m + n*(p + 1) + 1))/(a*e^n*(m + 1)), In
t[(e*x)^(m + n)*(a + b*x^n)^p, x], x] /; FreeQ[{a, b, c, d, e, p}, x] && NeQ[b*c - a*d, 0] && (IntegerQ[n] ||
GtQ[e, 0]) && ((GtQ[n, 0] && LtQ[m, -1]) || (LtQ[n, 0] && GtQ[m + n, -1])) &&  !ILtQ[p, -1]

Rule 277

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[((c*x)^(m + 1)*(a + b*x^n)^p)/(c*(m +
1)), x] - Dist[(b*n*p)/(c^n*(m + 1)), Int[(c*x)^(m + n)*(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b, c}, x] &&
IGtQ[n, 0] && GtQ[p, 0] && LtQ[m, -1] &&  !ILtQ[(m + n*p + n + 1)/n, 0] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 195

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^p)/(n*p + 1), x] + Dist[(a*n*p)/(n*p + 1),
 Int[(a + b*x^n)^(p - 1), x], x] /; FreeQ[{a, b}, x] && IGtQ[n, 0] && GtQ[p, 0] && (IntegerQ[2*p] || (EqQ[n, 2
] && IntegerQ[4*p]) || (EqQ[n, 2] && IntegerQ[3*p]) || LtQ[Denominator[p + 1/n], Denominator[p]])

Rule 217

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \sin ^5(e+f x) \left (a+b \tan ^2(e+f x)\right )^{3/2} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (-1+x^2\right )^2 \left (a-b+b x^2\right )^{3/2}}{x^6} \, dx,x,\sec (e+f x)\right )}{f}\\ &=-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}+\frac{\operatorname{Subst}\left (\int \frac{\left (-10 (a-b)+5 (a-b) x^2\right ) \left (a-b+b x^2\right )^{3/2}}{x^4} \, dx,x,\sec (e+f x)\right )}{5 (a-b) f}\\ &=\frac{2 \cos ^3(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{3 (a-b) f}-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}+\frac{(3 a-7 b) \operatorname{Subst}\left (\int \frac{\left (a-b+b x^2\right )^{3/2}}{x^2} \, dx,x,\sec (e+f x)\right )}{3 (a-b) f}\\ &=-\frac{(3 a-7 b) \cos (e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{3/2}}{3 (a-b) f}+\frac{2 \cos ^3(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{3 (a-b) f}-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}+\frac{((3 a-7 b) b) \operatorname{Subst}\left (\int \sqrt{a-b+b x^2} \, dx,x,\sec (e+f x)\right )}{(a-b) f}\\ &=\frac{(3 a-7 b) b \sec (e+f x) \sqrt{a-b+b \sec ^2(e+f x)}}{2 (a-b) f}-\frac{(3 a-7 b) \cos (e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{3/2}}{3 (a-b) f}+\frac{2 \cos ^3(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{3 (a-b) f}-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}+\frac{((3 a-7 b) b) \operatorname{Subst}\left (\int \frac{1}{\sqrt{a-b+b x^2}} \, dx,x,\sec (e+f x)\right )}{2 f}\\ &=\frac{(3 a-7 b) b \sec (e+f x) \sqrt{a-b+b \sec ^2(e+f x)}}{2 (a-b) f}-\frac{(3 a-7 b) \cos (e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{3/2}}{3 (a-b) f}+\frac{2 \cos ^3(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{3 (a-b) f}-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}+\frac{((3 a-7 b) b) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{\sec (e+f x)}{\sqrt{a-b+b \sec ^2(e+f x)}}\right )}{2 f}\\ &=\frac{(3 a-7 b) \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} \sec (e+f x)}{\sqrt{a-b+b \sec ^2(e+f x)}}\right )}{2 f}+\frac{(3 a-7 b) b \sec (e+f x) \sqrt{a-b+b \sec ^2(e+f x)}}{2 (a-b) f}-\frac{(3 a-7 b) \cos (e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{3/2}}{3 (a-b) f}+\frac{2 \cos ^3(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{3 (a-b) f}-\frac{\cos ^5(e+f x) \left (a-b+b \sec ^2(e+f x)\right )^{5/2}}{5 (a-b) f}\\ \end{align*}

Mathematica [A]  time = 5.52285, size = 233, normalized size = 1.03 \[ \frac{\cos (e+f x) \sqrt{\sec ^2(e+f x) ((a-b) \cos (2 (e+f x))+a+b)} \left (2 \sqrt{(a-b) \cos (2 (e+f x))+a+b} \left (4 \left (7 a^2-20 a b+13 b^2\right ) \cos (2 (e+f x))-89 a^2-3 (a-b)^2 \cos (4 (e+f x))+60 b (a-b) \sec ^2(e+f x)+474 a b-409 b^2\right )+120 \sqrt{2} \sqrt{b} \left (3 a^2-10 a b+7 b^2\right ) \tanh ^{-1}\left (\frac{\sqrt{(a-b) \cos (2 (e+f x))+a+b}}{\sqrt{2} \sqrt{b}}\right )\right )}{240 \sqrt{2} f (a-b) \sqrt{(a-b) \cos (2 (e+f x))+a+b}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[e + f*x]^5*(a + b*Tan[e + f*x]^2)^(3/2),x]

[Out]

(Cos[e + f*x]*Sqrt[(a + b + (a - b)*Cos[2*(e + f*x)])*Sec[e + f*x]^2]*(120*Sqrt[2]*Sqrt[b]*(3*a^2 - 10*a*b + 7
*b^2)*ArcTanh[Sqrt[a + b + (a - b)*Cos[2*(e + f*x)]]/(Sqrt[2]*Sqrt[b])] + 2*Sqrt[a + b + (a - b)*Cos[2*(e + f*
x)]]*(-89*a^2 + 474*a*b - 409*b^2 + 4*(7*a^2 - 20*a*b + 13*b^2)*Cos[2*(e + f*x)] - 3*(a - b)^2*Cos[4*(e + f*x)
] + 60*(a - b)*b*Sec[e + f*x]^2)))/(240*Sqrt[2]*(a - b)*f*Sqrt[a + b + (a - b)*Cos[2*(e + f*x)]])

________________________________________________________________________________________

Maple [B]  time = 0.453, size = 2399, normalized size = 10.6 \begin{align*} \text{result too large to display} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2),x)

[Out]

1/60/f/(a-b)/a^(5/2)/b^(1/2)*(cos(f*x+e)-1)^3*(-15*a^(7/2)*b^(3/2)*((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/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a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)^2)^(1/2)+11
6*a^(5/2)*cos(f*x+e)^2*b^(5/2)*((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)^2)^(1/2)-15*a^(7/2)*cos(f*x+e
)*b^(3/2)*((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)^2)^(1/2)+15*a^(5/2)*cos(f*x+e)*b^(5/2)*((a*cos(f*x
+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)^2)^(1/2)+150*a^(7/2)*cos(f*x+e)^2*arctanh(1/8*b^(1/2)*4^(1/2)*(cos(f*x+
e)-1)*(cos(f*x+e)*4^(1/2)-2*cos(f*x+e)-4^(1/2)-2)/sin(f*x+e)^2/((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+
1)^2)^(1/2))*b^2-105*a^(5/2)*cos(f*x+e)^2*arctanh(1/8*b^(1/2)*4^(1/2)*(cos(f*x+e)-1)*(cos(f*x+e)*4^(1/2)-2*cos
(f*x+e)-4^(1/2)-2)/sin(f*x+e)^2/((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)^2)^(1/2))*b^3)*cos(f*x+e)*((
a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/cos(f*x+e)^2)^(3/2)*4^(1/2)/((a*cos(f*x+e)^2-cos(f*x+e)^2*b+b)/(cos(f*x+e)+1)
^2)^(3/2)/sin(f*x+e)^6

________________________________________________________________________________________

Maxima [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

________________________________________________________________________________________

Fricas [A]  time = 5.67458, size = 1053, normalized size = 4.64 \begin{align*} \left [-\frac{15 \,{\left (3 \, a^{2} - 10 \, a b + 7 \, b^{2}\right )} \sqrt{b} \cos \left (f x + e\right ) \log \left (-\frac{{\left (a - b\right )} \cos \left (f x + e\right )^{2} - 2 \, \sqrt{b} \sqrt{\frac{{\left (a - b\right )} \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right ) + 2 \, b}{\cos \left (f x + e\right )^{2}}\right ) + 2 \,{\left (6 \,{\left (a^{2} - 2 \, a b + b^{2}\right )} \cos \left (f x + e\right )^{6} - 4 \,{\left (5 \, a^{2} - 13 \, a b + 8 \, b^{2}\right )} \cos \left (f x + e\right )^{4} + 2 \,{\left (15 \, a^{2} - 70 \, a b + 58 \, b^{2}\right )} \cos \left (f x + e\right )^{2} - 15 \, a b + 15 \, b^{2}\right )} \sqrt{\frac{{\left (a - b\right )} \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{60 \,{\left (a - b\right )} f \cos \left (f x + e\right )}, -\frac{15 \,{\left (3 \, a^{2} - 10 \, a b + 7 \, b^{2}\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{\frac{{\left (a - b\right )} \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}} \cos \left (f x + e\right )}{b}\right ) \cos \left (f x + e\right ) +{\left (6 \,{\left (a^{2} - 2 \, a b + b^{2}\right )} \cos \left (f x + e\right )^{6} - 4 \,{\left (5 \, a^{2} - 13 \, a b + 8 \, b^{2}\right )} \cos \left (f x + e\right )^{4} + 2 \,{\left (15 \, a^{2} - 70 \, a b + 58 \, b^{2}\right )} \cos \left (f x + e\right )^{2} - 15 \, a b + 15 \, b^{2}\right )} \sqrt{\frac{{\left (a - b\right )} \cos \left (f x + e\right )^{2} + b}{\cos \left (f x + e\right )^{2}}}}{30 \,{\left (a - b\right )} f \cos \left (f x + e\right )}\right ] \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="fricas")

[Out]

[-1/60*(15*(3*a^2 - 10*a*b + 7*b^2)*sqrt(b)*cos(f*x + e)*log(-((a - b)*cos(f*x + e)^2 - 2*sqrt(b)*sqrt(((a - b
)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*cos(f*x + e) + 2*b)/cos(f*x + e)^2) + 2*(6*(a^2 - 2*a*b + b^2)*cos(f*x +
 e)^6 - 4*(5*a^2 - 13*a*b + 8*b^2)*cos(f*x + e)^4 + 2*(15*a^2 - 70*a*b + 58*b^2)*cos(f*x + e)^2 - 15*a*b + 15*
b^2)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2))/((a - b)*f*cos(f*x + e)), -1/30*(15*(3*a^2 - 10*a*b +
7*b^2)*sqrt(-b)*arctan(sqrt(-b)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2)*cos(f*x + e)/b)*cos(f*x + e)
 + (6*(a^2 - 2*a*b + b^2)*cos(f*x + e)^6 - 4*(5*a^2 - 13*a*b + 8*b^2)*cos(f*x + e)^4 + 2*(15*a^2 - 70*a*b + 58
*b^2)*cos(f*x + e)^2 - 15*a*b + 15*b^2)*sqrt(((a - b)*cos(f*x + e)^2 + b)/cos(f*x + e)^2))/((a - b)*f*cos(f*x
+ e))]

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)**5*(a+b*tan(f*x+e)**2)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: RuntimeError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)^5*(a+b*tan(f*x+e)^2)^(3/2),x, algorithm="giac")

[Out]

Exception raised: RuntimeError